﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FantastPlatform.Framework.Core;
using FantastPlatform.Framework.IModel;
using Newtonsoft.Json;
using FantastPlatform.Framework.Common.Serializable;

namespace FantastPlatform.Framework.Model
{
  public class EmployeeJobExperience:Item,IEmployeeJobExperience
    {
        #region IEmployeeJobExperience 成员
      [JsonConverter(typeof(InterfaceConverter<Employee>))]
        public virtual IEmployee Employee
        {
            get;
            set;
        }

        public virtual DateTime? BeginTime
        {
            get;
            set;
        }

        public virtual DateTime? EndTime
        {
            get;
            set;
        }

        public virtual string JobUnit
        {
            get;
            set;
        }

        public virtual string Department
        {
            get;
            set;
        }

        public virtual string Job
        {
            get;
            set;
        }
        [JsonConverter(typeof(InterfaceConverter<JobTitle>))]
        public virtual IJobTitle JobTitle
        {
            get;
            set;
        }

        public virtual string JobResponsibility
        {
            get;
            set;
        }

        #endregion
    }
}
